-- GENERATED SPELL FOR [Storm Revenant] --


function spell0_28858(pUnit, Event) --@Call Lightning,n/a--
pUnit:FullCastSpellOnTarget(32018,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28858', 554, 1)
end

function Sorts_28858(pUnit, Event)
local choix_sorts_28858 = math.random(0, 0)
if choix_sorts_28858 == 0 then
pUnit:RegisterEvent('spell0_28858', 1, 1)
end
end

function mob28858_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28858', math.random(1500, 3000), 1)
end

function mob28858_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28858_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28858_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28858, 1, 'mob28858_Action')
RegisterUnitEvent(28858, 2, 'mob28858_Leave')
RegisterUnitEvent(28858, 3, 'mob28858_Kill')
RegisterUnitEvent(28858, 4, 'mob28858_Die')
